﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ProductInfoDetail.ascx.cs" Inherits="BestBuy.UserControl.ProductInfoDetail" %>

<style type="text/css">
    .style1
    {
        width: 271px;
    }
    .Category
    {
        width:auto; float: left; color: #99370B; font-weight: bold; background: none repeat scroll 0% 0% #FFFFD8; 
        border: 1px solid rgb(236, 212, 138); padding: 3px 7px; width: auto; font-size: 11px;
    }
</style>

<asp:Panel ID="ProductDetailPanel" runat="server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" >         
        <ContentTemplate>
            <table class="table table-bordered" width="100%">                
                <tr>
                    <td class="style1">
                        <asp:Literal ID="litDanhMuc" runat="server" Text="Category"></asp:Literal>
                    </td>
                    <td>
                        <asp:Label ID="lbDanhMuc" runat="server" CssClass="Category"></asp:Label>
                        <asp:HiddenField ID="HiddenCategory" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td class="style1">Product Detail</td>
                    <td>
                        <asp:TextBox ID="txtProductDetail" runat="server" TextMode="MultiLine" Width="80%"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                 <td class="style1">Product Name</td>
                    <td><asp:TextBox ID="txtProductName" runat="server" Width="80%"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                            ControlToValidate="txtProductName" ErrorMessage="Please enter detail" 
                            ForeColor="Red">*</asp:RequiredFieldValidator>
                    </td>                   
                </tr>
                <tr>
                    <td class="style1">Model/Article No:
                    </td>
                    <td>
                        <asp:TextBox ID="txtModel" runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                     <td class="style1"> Key Words</td>
                    <td> <asp:TextBox ID="txtKeyword" runat="server" Width="80%"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                            ErrorMessage="Please enter key words" ForeColor="Red" 
                            ControlToValidate="txtKeyword">*</asp:RequiredFieldValidator>
                    </td>
                </tr>                
                <tr>
                    <td class="style1">
                        <asp:Literal ID="Literal3" runat="server" Text="Description"></asp:Literal>
                    </td>
                    <td>
                        <asp:TextBox ID="txtDescription" runat="server" TextMode="MultiLine" 
                            Width="80%"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                            ErrorMessage="Please enter descript" ForeColor="Red" 
                            ControlToValidate="txtDescription">*</asp:RequiredFieldValidator>
                        </td>
                </tr>
                <tr>
                    <td>
                        <h4>Product Photo & Brochure</h4>
                    </td>
                    <td>
                    </td>
                </tr> 
                <tr>
                    <td class="style1">Attach a Product Photo</td>
                    <td>
                        <asp:FileUpload ID="FileUpload1" runat="server" />
                        &nbsp;&nbsp;                                               
                        </td>
                </tr>  
                <tr>
                    <td class="style1">                        
                        Product Brochoures</td>
                    <td>
                        <asp:FileUpload ID="upLoadBrochoure" runat="server" />
                    </td>
                </tr>             
                <tr>
                    <td>
                        <h4>Packaging &amp; Shipment Details</h4>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td class="style1"><span>Delivery Time</span></td>
                    <td><asp:TextBox runat="server" ID="StartTimeTextBox"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style1"><span>Supplying Ability</span></td>
                    <td><asp:TextBox runat="server" ID="EndTimeTextBox"></asp:TextBox>
                        &nbsp;&nbsp;<asp:DropDownList ID="DropDownList1" runat="server" 
                            onload="DropDownList1_Load" >
                        </asp:DropDownList>
                        &nbsp;&nbsp;
                        <asp:Literal ID="Literal1" runat="server" Text="Per"></asp:Literal>
                        &nbsp;&nbsp;<asp:DropDownList ID="DropDownList2" runat="server"  
                            Width="70px">
                            <asp:ListItem>Day</asp:ListItem>
                            <asp:ListItem>Week</asp:ListItem>
                            <asp:ListItem>Month</asp:ListItem>
                            <asp:ListItem>Year</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                
                <tr>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style1">Place of Origin:</td>
                    <td>
                        <asp:TextBox ID="txtPlaceOfOrigin" runat="server"></asp:TextBox>
                    </td>
                </tr>                
                <tr>
                    <td> <h4>Minimum Order & Payment</h4></td>
                    <td>                        
                    </td>
                </tr>
                <tr>
                    <td class="style1">
                        Minimum Order Quantity
                    </td>
                    <td>
                        <asp:TextBox ID="txtMinimumOrder" runat="server"></asp:TextBox>&nbsp;&nbsp;
                        <asp:DropDownList ID="DropDownList3" runat="server" onload="DropDownList3_Load"></asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>Payment Type:</td>
                    <td> 
                        <table>
                        <tr><td>
                        <asp:CheckBox ID="CheckBox1" runat="server" Text="T/T" TextAlign="Left" /></td>
                        <td><asp:CheckBox ID="CheckBox2" runat="server" Text="L/C" TextAlign="Left" /> &nbsp;&nbsp;</td>
                        <td><asp:CheckBox ID="CheckBox3" runat="server" Text="Western Union" 
                                TextAlign="Left" /> &nbsp;&nbsp;</td>
                        <td><asp:CheckBox ID="CheckBox4" runat="server" Text="Paypal" TextAlign="Left" /> &nbsp;&nbsp;</td>
                        </tr>
                        </table>
                    </td>
                </tr>
            </table>  
            <asp:ValidationSummary ID="ValidationSummary1" runat="server" ForeColor="Red" 
                ShowMessageBox="True" />                     
        </ContentTemplate>                             
    </asp:UpdatePanel>
    
</asp:Panel>